﻿
using System;

namespace Game.Actions
{
    /// <summary>
    /// Description of ActionResult.
    /// </summary>
    public class ActionResult
    {
        private readonly int _code;
        private readonly string _userMessage;
      
        public ActionResult(int code, string userMessage)
        {
            _code = code;
            _userMessage = userMessage;
        }
        
        public int Code
        {
            get { return _code; }
        }
        
        public string UserMessage
        {
            get { return _userMessage; }
        }
        
    }
}
